<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
   <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>    
<!DOCTYPE html>
<html>
    <head>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <meta http-equiv="X-UA-Compatible" content="ie=edge">
        <meta name="keywords" content="${web.wkeywords}" />
		<meta name="description" content="${web.wdescription}" />
      <meta http-equiv="pragma" content="no-cache" />
<meta http-equiv="content-type" content="no-cache, must-revalidate" />
<meta http-equiv="expires" content="Wed, 26 Feb 1997 08:21:57 GMT"/>
        <title>后台登录首页</title>        
        <link rel="shortcut icon" href="/images/logo.png">
        <link rel="stylesheet" href="/css/saoma/css/style.css">
        <script type="text/javascript" src="/layui/layui.js"></script>
<script type="text/javascript" src="/layui/layui.all.js"></script>
<script type="text/javascript" src="/js/jquery.min.js" ></script>
<script type="text/javascript" src="/js/jquery-3.2.1.min.js"></script>
    </head>
    <body onkeydown="keyLogin(event);">
        <header>
            <nav class="b_clear">
                <div class="nav_logo l_float">
                    <img src="/images/logo_k.png" alt="">
                </div>
                <div class="nav_link r_float">
                    <ul>
                        <li><a href="/index.html" target="_blank">返回首页</a></li>
                        <li><a href="/about.html" target="_blank">关于我</a></li>
                        <li><a href="https://www.aueke.cn" target="_blank">联系我公司</a></li>

                    </ul>
                </div>
            </nav>
        </header>
        <div class="container">
            <div class="login_body l_clear">
                <div class="login_form l_float">
                    <div class="login_top">
                        <img src="/images/logo.png" alt="" class="">
                        
                        <div class="login_tags b_clear">
                            <span class="top_tag l_float active" onclick="PwdLogin()">管理员登录</span>                         
                            <span class="top_tag r_float" onClick="QrcodeLogin()">扫码登录</span>
                        
                        </div>
                    </div>
                    <div class="login_con">
                        <form >
                            <div>
                                <label for="user_name">用户名</label>
                                <input type="email" required autocomplete="off" id="username" onblur="checkUserName()" placeholder="账号/手机号/邮箱">
                                <img src="/css/saoma/imgs/icons/user.svg">
                               
                            </div>
                            <div>
                                <label for="user_pwd">密码</label>
                                <input type="password" required autocomplete="off"  id="password" onblur="checkPassWord()" placeholder="请输入账户密码">
                                <img src="/css/saoma/imgs/icons/lock.svg">
                               
                            </div>                     
                   			  <div class="b_clear">
                                <label for="auth_code" class="b_clear">验证码</label>
                                <input type="text"  id="auth_code" placeholder="输入验证码" required class="l_float" maxlength="6" onblur="checkVcode()">
                                
                                <p> <img style="padding:5px;margin-top:9px;margin-left:5px;" onclick="javascript:loadimage();"  title="换一张试试" name="randImage" id="randImage" src="/admin/checkCode" width="60" height="20" border="1" align="absmiddle"></p>                              
                                
                                
                            </div> 
                             <div class="b_clear submit">
                                
                                <button type="button" onclick="login()">登&nbsp;&nbsp;录</button>
                                <a href="#" class="r_float">忘记密码？</a>
                               
                            </div>
                        </form>   
                    </div>
                    <div class="login_con hidden">
                        <div class="qr_code">
                                <img src="/css/saoma/imgs/qr.png" alt="">
                                <p>请使用微信扫码登录<br>仅支持已绑定微信的账户进行快速登录</p>
                        </div>
                        
                    </div>
                    <div class="login_otherAccount">
                        <span>第三方登录</span>
                        <a href="/wx/login.html"><img src="/css/saoma/imgs/icons/wechat.svg" alt="微信登录"></a>
                        <a href="http://"><img src="/css/saoma/imgs/icons/weibo.svg" alt="微博登录"></a>
                        <a href="/qqlogin.html"><img src="/css/saoma/imgs/icons/qq.svg" alt="QQ登录"></a>
                    </div>
                    
                </div>
                <div class="login_ad l_float" id="AdImg">
                    <a href="">查看详情</a>
                </div>
            </div>
         <jsp:include page="backlogin.jsp"></jsp:include>
        </div>

        <script src="/js/login.js"></script>        
    </body>
    <script type="text/javascript">
	function loadimage(){
		document.getElementById("randImage").src="/admin/checkCode?"+Math.random();
	}
</script>
</html>

